<div data-dojo-type="my.form.AddUserForm" id="myForm" data-dojo-id="addUserForm" encType="multipart/form-data" action="addUserAction" method="POST">
	<table>
		<tr>
			<td><label for="user.login">Login:</label></td>
			<td><input type="text" name="user.login" value="" required="true" data-dojo-type="dijit.form.TextBox" data-dojo-props="trim:true" id="user.login" data-dojo-attach-point="user.login"></td>
		</tr>
		<tr>
			<td><label for="user.username">Name:</label></td>
			<td><input type="text" name="user.username" value="" required="true" data-dojo-type="dijit.form.TextBox" data-dojo-props="trim:true" id="user.username" data-dojo-attach-point="user.username"></td>
		</tr>
		<tr>
			<td><label for="userAccount.id_account">Role:</label></td>
    		<td>
				<div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-id="userAccountStore" data-dojo-props="url:'getAccountsAction.action'"></div>      	
				<input data-dojo-attach-point="userAccount.id_account" data-dojo-type="dijit.form.FilteringSelect" data-dojo-props="store:userAccountStore, autoComplete:true, name:'userAccount.id_account',searchAttr:'name',required:true"></input>
    		</td>
		</tr>
	</table>
	
	<br/>
	
	<table width="100%">
		<tr>
			<td align="left"><button data-dojo-type="dijit.form.Button" data-dojo-props="iconClass:'dijitIconSave', showLabel: true" type="submit">Save</button></td>
			<td align="right"><button data-dojo-type="dijit.form.Button" data-dojo-props="iconClass:'dijitIconDelete', showLabel: true" type="button" onClick="dijit.byId('addUserDialog').hide()">Cancel</button></td>
		<tr>
	</table>

</div>